package com.dpf.hou.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.dpf.hou.pojo.Adoption;
import com.dpf.hou.util.RefuseUtil;

public interface AdoptionService {

    Page<Adoption> getPageByName(int page, int size, String username);
    boolean petApply(int userid,int petid,String note);

    Page<Adoption> adoGet(int page,int size);

    boolean petAllow(Adoption adoption);

    boolean delAdo(Integer adoid);
    RefuseUtil refuseAdo(Integer adoid);

    Page<Adoption> adoRecordGet(int page,int size,int userid);
}
